package com.graduation.rescuematerial.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author:CaiShuangLian
 * @FileName:
 * @Date:Created in  2022/4/29 0:43
 * @Version:
 * @Description: web端的material base
 */
@Data
public class BaseMaterialVo implements Serializable {

    /**
     * 物资id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 物资名称
     */
    private String name;

    /**
     * 生产商
     */
    private String producer;

    /**
     * 种类
     */
    private Integer catalogId;

    /**
     * 描述
     */
    private String description;

    /**
     * 图片
     */
    private String image;

    /**
     * 生产日期
     */
    private Date manufactureDate;

    /**
     * 保质期（以天为单位）
     */
    private Integer expirationDate;

    private Boolean status;

    private Integer stock;
}
